$(document).ready(function(){
	$("#form").validate({
		rules: {
			roledesc: "required"
		},
		messages: {
			roledesc: "角色描述不能为空！"
		},
		success: function() {
			var options = $('#userListRight').find('option');
			var valuser="";
			for(var i=0;i<options.length;i++){
				valuser = valuser+options[i].value+";";
			}
    		$('#userList').val(valuser);   
  		}
	});
});